package com.taobao.api.domain;

import java.util.Date;
import java.util.List;

import com.taobao.api.TaobaoObject;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;

/**
 * Appkey的站点导购数据
 *
 * @author auto create
 * @since 1.0, null
 */
public class SpmResult extends TaobaoObject {

  private static final long serialVersionUID = 7542314829354961941L;

  /**
   * appkey
   */
  @ApiField("app_key")
  private String            appKey;

  /**
   * 日期
   */
  @ApiField("date")
  private Date              date;

  /**
   * 该APP所使用的SPM第四位的报表数据
   */
  @ApiListField("spm_modules")
  @ApiField("top_spm")
  private List<TopSpm>      spmModules;

  /**
   * 该APP所使用的SPM第三位的报表数据
   */
  @ApiListField("spm_pages")
  @ApiField("top_spm")
  private List<TopSpm>      spmPages;

  /**
   * 该APP的整体报表数据
   */
  @ApiField("spm_site")
  private TopSpm            spmSite;

  public String getAppKey() {
    return this.appKey;
  }

  public void setAppKey(String appKey) {
    this.appKey = appKey;
  }

  public Date getDate() {
    return this.date;
  }

  public void setDate(Date date) {
    this.date = date;
  }

  public List<TopSpm> getSpmModules() {
    return this.spmModules;
  }

  public void setSpmModules(List<TopSpm> spmModules) {
    this.spmModules = spmModules;
  }

  public List<TopSpm> getSpmPages() {
    return this.spmPages;
  }

  public void setSpmPages(List<TopSpm> spmPages) {
    this.spmPages = spmPages;
  }

  public TopSpm getSpmSite() {
    return this.spmSite;
  }

  public void setSpmSite(TopSpm spmSite) {
    this.spmSite = spmSite;
  }

}
